package com.cskaoyan.bean.cart.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddToCartBo {

    /**
     * goodsId : 1110004
     * number : 2
     * productId : 366
     */
    @NotNull
    private Integer goodsId;
    @NotNull
    private Integer number;
    @NotNull
    private Integer productId;

}
